<table style="border: none;">
<?php $tr = 1; ?>
<?php  for($h=0;$h<$cant;$h++){ 
if ($tr == 1){
echo '<tr>';
}
?>
<div style="width: 700px;<?php if($h%2==0){}?>">
<td style="border: none; background-color: #FFFFFF; width: 400px; float: left; ">
<dl>
<h2><?php  __($desposits[$h]['Desposit']['descripcion'].':&nbsp;'.$cant_vehiculos[$h].' vehículos');?></h2>

	
	<fieldset style="width: 280px;">
            <div>
				
                <?php for($i=1;$i<=$cant_states;$i++){
                        if($cant_estados[$h][$i]<>0){ 
                        ?>
		        <legend><dt><?php echo $desc_states[$i];?></dt>
						<dd><span style="padding-left: 27px;"><?php echo $cant_estados[$h][$i].'<br/>';?></span></dd></legend>
                        <?php 
                           for($j=1;$j<=$cant_vehicles_types;$j++){
                             if($estado_vehiculos[$h][$i][$j]<> 0){
                            ?><dt><?php echo $vehicles_types[$j];?></dt>
							<dd><span style="padding-left: 50px;"><?php echo $estado_vehiculos[$h][$i][$j];?></span></dd>
							<?php
                             }
                         }
                     }     
                }//for
                
            ?>
            </div>    
           
   
			
            </fieldset>
			
</dl>
</td>
<?php if ($tr == 2){
echo '</tr>';
$tr = 1;
}
else {
$tr++;
}
?>
<?php }?>
</div>
</table>

